package net.eicp.nada;

public class Twentytwo {
	public static void main(String[] args){
		for(RMB temp: RMB.values()){
			switch (temp) {
			case ONE:
				System.out.println("一元" + temp + ",ordinal " + temp.ordinal());
				break;
			case FIVE:
				System.out.println("五元" + temp + ",ordinal " + temp.ordinal());
				break;
			case TEN:
				System.out.println("十元" + temp + ",ordinal " + temp.ordinal());
				break;
			case FIFTY:
				System.out.println("五十元" + temp + ",ordinal " + temp.ordinal());
				break;
			case HUNDRED:
				System.out.println("一百元" + temp + ",ordinal " + temp.ordinal());
				break;
			default:
				break;
			}
			
		}
	}
}
